package cn.dcw.pethome.pet.mapper;

import cn.dcw.pethome.basic.mapper.BaseMapper;
import cn.dcw.pethome.basic.util.PageList;
import cn.dcw.pethome.pet.domain.Pet;
import cn.dcw.pethome.pet.dto.PetDto;
import cn.dcw.pethome.pet.query.PetQuery;

import java.util.List;
import java.util.Map;

public interface PetMapper extends BaseMapper<Pet> {


    Pet loadByIdDetail(Long id);
    //上架
    void onsale(Map<String, Object> map);
    //下架
    void offSale(Map<String, Object> map);

    void dels(List<Long> ids);

    PetDto getPetById(Long id);

    Pet getPetid(Long id);
}
